/**
 * @(#)com.basic.collection.TestThread
 *
 * Copyright (c) 2014-2018 上海纬视瑞科技有限公司
 *
 * DESC:
 *
 */
package com.basic.collection;

import java.util.List;

/**
 * @author fusf
 * @version 1.0  2017/3/14
 */
public class TestThread implements Runnable {

    private List list;

    public TestThread(List list){
        this.list = list;
    }

    @Override
    public void run() {
        for(int i=0;i<500;i++) {
            //System.out.println(TestThread.class.getSuperclass());
            list.add(i);

        }
    }
}
